
import * as Types from '../action-types';
const init = {
    num:0,
    up:0
}
export  default function personalReducer(state = init, action) {
    switch (action.type) {
        case Types.PERSONAL_ADD:
            return {
                ...state,up:init.up+1
            }
    }
    return state;
}